package com.bwie.mapper;


import com.bwie.common.domain.SignIn;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;


@Mapper
public interface SignMapper {

    List<SignIn> selectSignListInfo(SignIn signIn);




    Integer selectyestDateDay(@Param("date") LocalDate date, @Param("userId") Integer userId);

    SignIn selectLatesSignByUserId(Integer userId);

    void insertSign(SignIn signIn);

    void updateUserInfoPoints(@Param("userId") Integer userId, @Param("num") int num);
}
